package com.my.xl.salary.billdemo.pojo;

import java.util.Date;

//工资条
public class SalaryBill {
    //未加密的数据
    private Integer id;
    private String userid;
    private String username;
    private Date date;//日期
    private String date2;
    private String month;//月份
    private String year;//年份
    private Integer comment;//备注
    //加密的数据
    private String basicsalary;//基本工资
    private String postsalary;//岗位工资
    private String comprohensivesubsidy;//综合贴
    private String reward;//奖金
    private String grosssalary;//应发工资

    private String socialsecurity;//社保
    private String pubreservefunds;//公积金
    private String leavesalary;//病事假
    private String pretaxdeduction;//税前抵扣
    private String personaltax;//个税

    private String actualsalary;//实发工资


    public SalaryBill() {}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getBasicsalary() {
        return basicsalary;
    }

    public void setBasicsalary(String basicsalary) {
        this.basicsalary = basicsalary == null ? null : basicsalary.trim();
    }

    public String getPostsalary() {
        return postsalary;
    }

    public void setPostsalary(String postsalary) {
        this.postsalary = postsalary == null ? null : postsalary.trim();
    }

    public String getComprohensivesubsidy() {
        return comprohensivesubsidy;
    }

    public void setComprohensivesubsidy(String comprohensivesubsidy) {
        this.comprohensivesubsidy = comprohensivesubsidy == null ? null : comprohensivesubsidy.trim();
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward == null ? null : reward.trim();
    }

    public String getSocialsecurity() {
        return socialsecurity;
    }

    public void setSocialsecurity(String socialsecurity) {
        this.socialsecurity = socialsecurity == null ? null : socialsecurity.trim();
    }

    public String getPubreservefunds() {
        return pubreservefunds;
    }

    public void setPubreservefunds(String pubreservefunds) {
        this.pubreservefunds = pubreservefunds == null ? null : pubreservefunds.trim();
    }

    public String getLeavesalary() {
        return leavesalary;
    }

    public void setLeavesalary(String leavesalary) {
        this.leavesalary = leavesalary == null ? null : leavesalary.trim();
    }

    public String getPretaxdeduction() {
        return pretaxdeduction;
    }

    public void setPretaxdeduction(String pretaxdeduction) {
        this.pretaxdeduction = pretaxdeduction == null ? null : pretaxdeduction.trim();
    }

    public String getPersonaltax() {
        return personaltax;
    }

    public void setPersonaltax(String personaltax) {
        this.personaltax = personaltax == null ? null : personaltax.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getDate2() {
        return date2;
    }

    public void setDate2(String date2) {
        this.date2 = date2 == null ? null : date2.trim();
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month == null ? null : month.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public String getGrosssalary() {
        return grosssalary;
    }

    public void setGrosssalary(String grosssalary) {
        this.grosssalary = grosssalary;
    }

    public String getActualsalary() {
        return actualsalary;
    }

    public void setActualsalary(String actualsalary) {
        this.actualsalary = actualsalary;
    }

    @Override
    public String toString() {
        return "SalaryBill{" +
                "id=" + id +
                ", userid='" + userid + '\'' +
                ", username='" + username + '\'' +
                ", basicsalary='" + basicsalary + '\'' +
                ", postsalary='" + postsalary + '\'' +
                ", comprohensivesubsidy='" + comprohensivesubsidy + '\'' +
                ", reward='" + reward + '\'' +
                ", socialsecurity='" + socialsecurity + '\'' +
                ", pubreservefunds='" + pubreservefunds + '\'' +
                ", leavesalary='" + leavesalary + '\'' +
                ", pretaxdeduction='" + pretaxdeduction + '\'' +
                ", personaltax='" + personaltax + '\'' +
                ", date=" + date +
                ", date2='" + date2 + '\'' +
                ", month='" + month + '\'' +
                ", year='" + year + '\'' +
                ", comment=" + comment +
                ", grosssalary=" + grosssalary +
                ", actualsalary=" + actualsalary +
                '}';
    }
}